package org.soarsky.wealthchengdu.view;

import android.app.Activity;
import android.view.LayoutInflater;
import android.view.View;

/**
 * 布局文件视图   的基类，获取布局文件
 * @author huang
 *
 */
public class AddView {
	public static Activity activity;

	/**
	 * contant
	 */
	protected AddView(Activity activity) {
		this.activity = activity;
	}
	
	/**
	 * 获取视图
	 * @return
	 */
	protected View getinfalntview(int layout)
	{
		View view =LayoutInflater.from(activity).inflate(layout, null);
		return view;
	}
}
